package com.wyz.entity;

import java.sql.Date;

public class Review {
		long time = System.currentTimeMillis();
		
		private Long id;
		
		private Long movieId;
		private String content;
		private int rating;
		private String title;
		private Date createTime  = new Date(time);
		private int thumb_upAmount;
		private String writerId;
		private Movie movie;
		private User writer;
		public String getTitle() {
			return title;
		}
		public void setTitle(String title) {
			this.title = title;
		}
		public Long getId() {
			return id;
		}
		public void setId(Long id) {
			this.id = id;
		}
		public int getRating() {
			return rating;
		}
		public void setRating(int rating) {
			this.rating = rating;
		}
		public int getThumb_upAmount() {
			return thumb_upAmount;
		}
		public void setThumb_upAmount(int thumb_upAmount) {
			this.thumb_upAmount = thumb_upAmount;
		}
		public Long getMovieId() {
			return movieId;
		}
		public void setMovieId(Long movieId) {
			this.movieId = movieId;
		}
		public String getContent() {
			return content;
		}
		public void setContent(String content) {
			this.content = content;
		}
		public int getRate() {
			return rating;
		}
		public void setRate(int rate) {
			this.rating = rate;
		}
		public String getWriterId() {
			return writerId;
		}
		public void setWriterId(String writerId) {
			this.writerId = writerId;
		}
		public Movie getMovie() {
			return movie;
		}
		public void setMovie(Movie movie) {
			this.movie = movie;
		}
		public User getWriter() {
			return writer;
		}
		public void setWriter(User writer) {
			this.writer = writer;
		}
		public Date getCreateTime() {
			return createTime;
		}
		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}
		
}
